<style type="text/css">

.maps{width:300px;}
.appframeWrap .authimg{width:50px;float:left;margin:5px;}
.appframeWrap .authimg img{height:48px;width:48px; border:1px solid #ccc;}
.appframeWrap .tcontent{float:right;width:220px;}
.appframeWrap .tcontent h2{margin:0px;font-size:12px;border-bottom:1px solid #6699CC;color:#666666;}
.appframeWrap .tcontent .viewImg{border:none;}
.appframeWrap .tcontent .viewImg img{border:none;}
</style>
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
<script type="text/javascript" src="templates/default/plugin/map/js/maps.js"></script>
<div class="appframe">
<div class="appframeTitle"><span class="mleft">地图$this->Config['changeword']["n_weibo"]</span></div>
<div class="appframeWrap">


<script type="text/javascript">
var mymapip=new Array();var mymapcontent=new Array();var html;var k=0;
<!--{loop $topics $key $val}-->
mymapip[{$key}]='{$val[address]}';
mymapcontent[{$key}]='<div class="maps"><div class="authimg"><a href="index.php?mod={$val[username]}"><img src="{$val[face]}" onerror="javascript:faceError(this);" /></a></div><div class="tcontent"><h2>{$val[dateline]}&nbsp;{$val[from_html]}</h2><p><a title="{$val[username]}" href="index.php?mod={$val[username]}">{$val[nickname]}</a>{$val[validate_html]}：{$val[content]}</p>';
<!--{if $val[image_list]}-->
<!--{loop $val[image_list] $img}-->
mymapcontent[{$key}]+='<span class="viewImg"><a href="{$img[image_original]}"><img src="{$img[image_small]}"></a></span>';
<!--{/loop}-->
<!--{/if}-->
mymapcontent[{$key}]+='</div></div>';
<!--{/loop}-->
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('7 4(){6(2>=3.8){2=0}5(3[2],9[2]);2+=1;c.b("4()",a)}',13,13,'||k|mymapip|automap|codeAddress|if|function|length|mymapcontent|5000|setTimeout|window'.split('|'),0,{}))
</script>
<div id="map_canvas" style="width:900px; height:700px; margin:0 auto 10px;"></div>



</div>
</div>

